package jas.bank;

import jas.rpc.Remote;
import jas.rpc.RemoteException;

/**
 * Provides access to accounts in the bank.
 */
public interface Bank extends Remote {
    /**
     * 
     * @param name
     * @return
     * @throws jas.rpc.RemoteException
     */
    Account getAccount(String name) throws RemoteException;
}
